
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->


    <link href="/themes/admin_simpleboot3/public/assets/themes/flatadmin/bootstrap.min.css" rel="stylesheet">
    <link href="/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <style>
        form .input-order {
            margin-bottom: 0px;
            padding: 0 2px;
            width: 42px;
            font-size: 12px;
        }

        form .input-order:focus {
            outline: none;
        }

        .table-actions {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 0px;
        }

        .table-list {
            margin-bottom: 0px;
        }

        .form-required {
            color: red;
        }
    </style>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: 'admin'/*当前应用名*/
        };
    </script>
    <script src="/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip();
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    </head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a>Upload settings</a></li>
		</ul>
		<form method="post" class="js-ajax-form margin-top-20" role="form" action="/admin/setting/uploadpost.html">
			<div class="form-group">
				<label>Maximum number of files could be uploaded</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="max_files" title="Maximum number of files could be uploaded" placeholder="Maximum number of files could be uploaded" value="20">
					</div>
					<div class="col-md-4">
					</div>
				</div>
				<p class="help-block">Maximum number of files could be upload at the same time is 20.</p>
			</div>
			<div class="form-group">
				<label>Block size of uploaded file</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="chunk_size" title="Block size of uploaded file KB,1M=1024KB" placeholder="Block size of uploaded file KB,1M=1024KB" value="512">
					</div>
					<div class="col-md-4">
					</div>
				</div>
				<p class="help-block">Allowed block size when the file is uploaded in blocks,the smallest size is 512KB,The size can be set upon the maximum upload size limit of the server.</p>
			</div>
			<div class="form-group">
				<label>Picture file</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[image][upload_max_filesize]" title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="10240">
					</div>
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[image][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="jpg,jpeg,png,gif,bmp4">
					</div>
				</div>
				<p class="help-block">The default size of the uploaded file is 10240KB,The default file formats allowed to be uploaded are]jpg,jpeg,png,gif,bmp</p>
			</div>
			<div class="form-group">
				<label>video file</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[video][upload_max_filesize]" title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="10240">
					</div>
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[video][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="mp4,avi,wmv,rm,rmvb,mkv">
					</div>
				</div>
				<p class="help-block">The default size of uploaded file is 10240KB,1M=1024KB，The default file formats allowed to be uploaded are mp4,avi,wmv,rm,rmvb,mkv</p>
			</div>
			<div class="form-group">
				<label>Audio file</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[audio][upload_max_filesize]" title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="10240">
					</div>
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[audio][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="mp3,wma,wav">
					</div>
				</div>
				<p class="help-block">The default size of uploaded file is 10240KB,1M=1024KB，The default file formats allowed to be uploaded are mp3,wma,wav</p>
			</div>
			<div class="form-group">
				<label>Attachment</label>
				<div class="row">
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[file][upload_max_filesize]" title="允许上传大小KB,1M=1024KB" placeholder="允许上传大小KB,1M=1024KB" value="1024000">
					</div>
					<div class="col-md-4">
						<input type="text" class="form-control" name="file_types[file][extensions]" title="扩展名,以英文逗号分隔" placeholder="扩展名,以英文逗号分隔" value="txt,pdf,doc,docx,xls,xlsx,ppt,pptx,zip,rar,apk">
					</div>
				</div>
				<p class="help-block">The default size of attachment is 10240KB,1M=1024KB，the default file formats allowed to be uploaded are ：txt,pdf,doc,docx,xls,xlsx,ppt,pptx,zip,rar , plus all other formats
				were defined above</p>
			</div>
			<div class="form-group">
				<button type="submit" class="btn btn-primary js-ajax-submit">Save</button>
			</div>
		</form>
	</div>
	<script src="/static/js/admin.js"></script>
</body>
</html>